package com.zheng.hr.dao.model;

import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;

/**
 * <p>
 * hr_resume 简历库
 * </p>
 *
 * @author likun
 * @since 2018-04-19
 */
@TableName("hr_resume")
public class HrResume extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 应聘岗位
     */
	@TableField("position_id")
	private Integer positionId;
    /**
     * 姓名
     */
	private String realname;
    /**
     * 照片
     */
	private String avatar;
    /**
     * 英文名
     */
	private String ename;
    /**
     * 身份证
     */
	private String idcard;
    /**
     * 身份证正面照
     */
	@TableField("idcard_img1")
	private String idcardImg1;
    /**
     * 身份证反面照
     */
	@TableField("idcard_img2")
	private String idcardImg2;
    /**
     * 出生日期
     */
	private Date birthday;
    /**
     * 年龄
     */
	private Integer age;
    /**
     * 性别
     */
	private Integer gender;
    /**
     * 联系方式
     */
	private String phone;
    /**
     * 最高学历
     */
	private Integer education;
    /**
     * 学历类型
     */
	@TableField("education_type")
	private Integer educationType;
    /**
     * 毕业院校
     */
	private String university;
    /**
     * 所学专业
     */
	private String professional;
    /**
     * 政治面貌
     */
	private Integer political;
    /**
     * 毕业时间
     */
	@TableField("graduation_time")
	private Date graduationTime;
    /**
     * 期望薪资
     */
	private BigDecimal salary;
    /**
     * 目前居住地
     */
	private String location;
    /**
     * 职业技能
     */
	private String skills;
    /**
     * 拥有证书
     */
	private String certificate;
    /**
     * 到岗时间
     */
	@TableField("post_time")
	private Date postTime;
	private Integer status;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPositionId() {
		return positionId;
	}

	public void setPositionId(Integer positionId) {
		this.positionId = positionId;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getEname() {
		return ename;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getIdcardImg1() {
		return idcardImg1;
	}

	public void setIdcardImg1(String idcardImg1) {
		this.idcardImg1 = idcardImg1;
	}

	public String getIdcardImg2() {
		return idcardImg2;
	}

	public void setIdcardImg2(String idcardImg2) {
		this.idcardImg2 = idcardImg2;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getEducation() {
		return education;
	}

	public void setEducation(Integer education) {
		this.education = education;
	}

	public Integer getEducationType() {
		return educationType;
	}

	public void setEducationType(Integer educationType) {
		this.educationType = educationType;
	}

	public String getUniversity() {
		return university;
	}

	public void setUniversity(String university) {
		this.university = university;
	}

	public String getProfessional() {
		return professional;
	}

	public void setProfessional(String professional) {
		this.professional = professional;
	}

	public Integer getPolitical() {
		return political;
	}

	public void setPolitical(Integer political) {
		this.political = political;
	}

	public Date getGraduationTime() {
		return graduationTime;
	}

	public void setGraduationTime(Date graduationTime) {
		this.graduationTime = graduationTime;
	}

	public BigDecimal getSalary() {
		return salary;
	}

	public void setSalary(BigDecimal salary) {
		this.salary = salary;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getSkills() {
		return skills;
	}

	public void setSkills(String skills) {
		this.skills = skills;
	}

	public String getCertificate() {
		return certificate;
	}

	public void setCertificate(String certificate) {
		this.certificate = certificate;
	}

	public Date getPostTime() {
		return postTime;
	}

	public void setPostTime(Date postTime) {
		this.postTime = postTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	@Override
	protected Serializable pkVal() {
		return id;
	}
	@Override
	public String toString() {
		return "HrResume{" +
			"id=" + id +
			", positionId=" + positionId +
			", realname=" + realname +
			", avatar=" + avatar +
			", ename=" + ename +
			", idcard=" + idcard +
			", idcardImg1=" + idcardImg1 +
			", idcardImg2=" + idcardImg2 +
			", birthday=" + birthday +
			", age=" + age +
			", gender=" + gender +
			", phone=" + phone +
			", education=" + education +
			", educationType=" + educationType +
			", university=" + university +
			", professional=" + professional +
			", political=" + political +
			", graduationTime=" + graduationTime +
			", salary=" + salary +
			", location=" + location +
			", skills=" + skills +
			", certificate=" + certificate +
			", postTime=" + postTime +
			", status=" + status +
			"}";
	}
}
